print('this is a system for choosing what to eat')
from random import randint

num = randint(1, 5)
name = 'yhd'
password = 12345
print('please enter your name')
bingo = False

while bingo == False:
    yonghu = input()

    if yonghu != name:
        print('wrong,please retry')

    if yonghu == name:
        print('please enter your password')
        while bingo == False:
            mima = int(input())
            if mima != password:
                print('wrong,retry')
            if mima == password:
                print('welcom')
                print('you can eat')
                if num == 1:
                    print('黄焖鸡')
                if num == 2:
                    print('鸡丝面')
                if num == 3:
                    print('3餐厅')
                if num == 4:
                    print('兰州拉面')
                if num == 5:
                    print('金奥')
                    bingo = True
